package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;

/**
 * @Description UserService
 * @Author xxxx
 * @Date 2024-10-24
 */
public interface UserService {

    /**
     * 用户添加
     * @param userDto
     */
    void addUser(UserDto userDto);

    /**
     * 用户分页
     * @param userDto
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<UserVo> findUserVoPage(UserDto userDto, int pageNum, int pageSize);

    /**
     * 用户修改
     * @param userDto
     * @return
     */
    Boolean updateUser(UserDto userDto);

    /**
     * 启用或禁用用户
     * @param id
     * @param status
     */
    void startOrBan(Long id, String status);

    /*    *//**
     * 用户列表
     * @param userDto
     * @return
     *//*
    ResponseResult userList(UserDto userDto);*/

}
